package course.experiment2.num2;

public class Test01 {
    public static void main(String[] args) {//main
        String name = "zhangsan";
        String sex= "nan";
        int age=10;
        int id=1;
        Employee employeeDemo = new Employee(id, name, sex, age);// Employee类上面定义
        System.out.println(employeeDemo);
        Employee employeeDemo1 = new Employee(2, "lisi", "nv", 18, 18000);
        System.out.println(employeeDemo1);
    }
}